﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Yuebon.Security.Dtos
{
    /// <summary>
    /// 角色的数据权限，DTO对象
    /// </summary>
    [DataContract]
    public class RoleDataDto
    { 
        /// <summary>
        /// 默认构造函数（需要初始化属性的在此处理）
        /// </summary>
	    public RoleDataDto()
		{
            this.Id= System.Guid.NewGuid().ToString();

            this.RoleId= 0;

 		}

        #region Property Members
        
		[DataMember]
        public virtual string Id { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
		[DataMember]
        public virtual int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
		[DataMember]
        public virtual int RoleName { get; set; }

        /// <summary>
        /// 所属公司
        /// </summary>
		[DataMember]
        public virtual string BelongCompanys { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
		[DataMember]
        public virtual string BelongDepts { get; set; }

        /// <summary>
        /// 排除部门
        /// </summary>
		[DataMember]
        public virtual string ExcludeDepts { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
		[DataMember]
        public virtual string Note { get; set; }


        #endregion

    }
}